home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / boymks5e.zip / QTUP.BSC < prev    next >
Text File  |  1991-12-16  |  1KB  |  39 lines

  1. \\
  2. \\ Batch upload filenames script by Lee Breeden
  3. \\
  4.  
  5. |quote
  6. \\svz[%D:boymark.lst]\gv[]           \\ For use with download dir
  7. \\svz[%U:boymark.lst]\gv[]          \\ For use with upload dir
  8. \svz[e:\host\boymark.lst]\gv[]     \\ For use with host dir
  9. \SV2[%B:#.tmp]
  10. \\bl[blockcommand]
  11. \RE[\GV0[%VZ] \ii+^z,%v0[\em]\II+"\,%V0[\DV0[%II]] \II+"\,%V0[\DV0[%II]] \AF%V2[%V0] ]
  12. ub
  13. \RE[\gv0[%V2] \ii+^z,%v0[\em] \II+.,%v0[;%V0|;%v0] ] \GV[] \sl[Continuing macro...]
  14. \DC-[del %V2]
  15. {\dc-[del %VZ]\ko[]\eb
  16.  
  17. \\ Please note this line [\AF%V2[%V0] ] \\ this goes on line above.
  18. \\         ......what?
  19. \\
  20. \\ All of the commands HAVE to be on the same line.  The above script assumes
  21. \\ that the file names that are in the boymark.lst file, only contain a path
  22. \\ with 2-two \  e:\dn\filename.  If it contains more than two, this command
  23. \\ would need to be added to the long line above \II+"\,%V0[\DV0[%II]].  You
  24. \\ would need to have one \II+"\,%V0[\DV0[%II]] for every backslash.  If
  25. \\ you have a very long path, you might get a macro error because of line
  26. \\ length problems.  The same could be written into a block, but the
  27. \\ process would be slower.  Shown below.....
  28.  
  29.  
  30. |blockcommand
  31. \GV0[%VZ]
  32. \gb[trim]
  33.  
  34. |trim
  35. \ii+^z,%v0[\eb]
  36. \II+"\,%V0[\DV0[%II]\gb[trim]
  37. \AF%V2[%V0]
  38. \GB[blockcommand]
  39.